package com.aimaterials.resource.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.aimaterials.common.annotation.Excel;
import com.aimaterials.common.core.domain.BaseEntity;

/**
 * 知识点对象 res_point
 * 
 * @author DaemonSu
 * @date 2020-11-05
 */
public class ResPoint extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 知识点id */
    private Long pointId;

    /** 父知识点id */
    @Excel(name = "父知识点id")
    private Long parentId;

    /** 父知识点id */
    @Excel(name = "课程ID")
    private Long courseId;

    /** 祖级列表 */
    @Excel(name = "祖级列表")
    private String ancestors;

    /** 知识点名称 */
    @Excel(name = "知识点名称")
    private String pointName;

    /** 显示顺序 */
    @Excel(name = "显示顺序")
    private Integer orderNum;


    /** 说明*/
    @Excel(name = "说明")
    private String remark;

    /** 邮箱 */
    @Excel(name = "邮箱")
    private String email;

    /** 知识点状态（0正常 1停用） */
    @Excel(name = "知识点状态", readConverterExp = "0=正常,1=停用")
    private String status;

    /** 删除标志（0代表存在 2代表删除） */
    private String delFlag;

    public Long getSchoolId() {
        return schoolId;
    }

    public void setSchoolId(Long schoolId) {
        this.schoolId = schoolId;
    }

    private  Long schoolId;

    public void setPointId(Long pointId) 
    {
        this.pointId = pointId;
    }

    public Long getCourseId()
    {
        return courseId;
    }
    public void setCourseId(Long courseId)
    {
        this.courseId = courseId;
    }

    public Long getPointId()
    {
        return pointId;
    }
    public void setParentId(Long parentId)
    {
        this.parentId = parentId;
    }

    public Long getParentId() 
    {
        return parentId;
    }
    public void setAncestors(String ancestors) 
    {
        this.ancestors = ancestors;
    }

    public String getAncestors() 
    {
        return ancestors;
    }
    public void setPointName(String pointName) 
    {
        this.pointName = pointName;
    }

    public String getPointName() 
    {
        return pointName;
    }
    public void setOrderNum(Integer orderNum) 
    {
        this.orderNum = orderNum;
    }

    public Integer getOrderNum() 
    {
        return orderNum;
    }
    public void setRemark(String remark)
    {
        this.remark = remark;
    }

    public String getRemark()
    {
        return remark;
    }

    public void setEmail(String email) 
    {
        this.email = email;
    }

    public String getEmail() 
    {
        return email;
    }
    public void setStatus(String status) 
    {
        this.status = status;
    }

    public String getStatus() 
    {
        return status;
    }
    public void setDelFlag(String delFlag) 
    {
        this.delFlag = delFlag;
    }

    public String getDelFlag() 
    {
        return delFlag;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("pointId", getPointId())
            .append("parentId", getParentId())
            .append("ancestors", getAncestors())
            .append("pointName", getPointName())
            .append("orderNum", getOrderNum())
            .append("remark", getRemark())
            .append("email", getEmail())
            .append("status", getStatus())
            .append("delFlag", getDelFlag())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .toString();
    }
}
